<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<s:iterator value="cateLev2Map.keySet()" id="ct">
	<tr height="40" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#BFDFFF'"  onmouseout="this.style.backgroundColor=''">
		<td align="left">
			<img src='back/images/tree_line3.gif' width='17' height='16' />
			<img src='back/images/tree_line1.gif' width='17' height='16' />
			<img src='back/images/tree_folder3.gif' width='15' height='15' />
			<s:property value='#ct.title' />
		</td>
		<td align="center">&nbsp;<s:property value='#ct.url' /></td>
		<td align="center" width="450">
			<a href="cate_insert.action?cate.cateId=<s:property value='#ct.cateId' />">添加子模块</a>&nbsp;|&nbsp;
			<a href="cate_upload.action?cate.cateId=<s:property value='#ct.cateId' />">编辑模块</a>&nbsp;|&nbsp;
			<a onclick="if(confirm('是否确认删除该模块?')){return true;}else{return false;}" href="cate_del.action?cate.cateId=<s:property value='#ct.cateId' />">删除模块</a>&nbsp;|&nbsp;
		</td>
	</tr>
	<s:iterator value="cateLev2Map.get(#ct)" id="cl">
		<tr height="40" bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#BFDFFF'"  onmouseout="this.style.backgroundColor=''">
			<td align="left">
				<img src='back/images/tree_line3.gif' width='17' height='16' />
				<img src='back/images/tree_line1.gif' width='17' height='16' />
				<img src='back/images/tree_line1.gif' width='17' height='16' />	
				<img src='back/images/tree_folder3.gif' width='15' height='15' />
				<s:property value='#cl.title' />
			</td>
			<td align="center">&nbsp;<s:property value='#cl.url' /></td>
			<td align="center" width="450">
				<a href="cate_insert.action?cate.cateId=<s:property value='#cl.cateId' />">添加子模块</a>&nbsp;|&nbsp;
				<a href="cate_upload.action?cate.cateId=<s:property value='#cl.cateId' />">编辑模块</a>&nbsp;|&nbsp;
				<a onclick="if(confirm('是否确认删除该模块?')){return true;}else{return false;}" href="cate_del.action?cate.cateId=<s:property value='#cl.cateId' />">删除模块</a>&nbsp;|&nbsp;
			</td>
		</tr>
	</s:iterator>
</s:iterator>

